package edu.sctu.zcy.month201505.day20150526.homeworkchen;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by user24 on 2015/5/26.
 */
public class Food {

    public Map mapFoodOne = new HashMap<>();
    public Map mapFoodTwo = new HashMap<>();

    String[] foodOne = new String[10];
    String[] foodTwo = new String[10];

    public String[] getFoodO() {

        for (int i = 0; i < foodOne.length; i++) {
            foodOne[i] = "荤菜" + i;
        }

        return foodOne;
    }

    public Map getFoodOne() {
        for (int i = 0; i < 10; i++) {

            mapFoodOne.put(getFoodO()[i], 10);
        }

        return mapFoodOne;
    }


    public String[] getFoodT() {

        for (int i = 0; i < foodTwo.length; i++) {
            foodTwo[i] = "素菜" + i;
        }

        return foodTwo;
    }

    public Map getFoodTwo() {
        for (int i = 0; i < 10; i++) {

            mapFoodTwo.put(getFoodT()[i], 5);
        }
        return mapFoodTwo;
    }


}
